package com.yidu.hbatsft.dao;

import com.yidu.hbatsft.domain.AtsEmpCoachAthlete;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AtsEmpCoachAthleteMapper {

    int deleteByPrimaryKey(Integer caId);

    int insert(AtsEmpCoachAthlete record);

    int insertSelective(AtsEmpCoachAthlete record);

    AtsEmpCoachAthlete selectByPrimaryKey(Integer caId);

    int updateByPrimaryKeySelective(AtsEmpCoachAthlete record);

    int updateByPrimaryKey(AtsEmpCoachAthlete record);

    List<AtsEmpCoachAthlete> coachAthelete(Integer id);
    /**
     * 根据运动员ID 和教练员ID 查询本表ID
     */
    AtsEmpCoachAthlete findById(Integer athleteId,Integer coachId);

}